package org.electrical.dao;

import org.electrical.pojo.EleSale;

import java.util.List;

public interface EleSaleDao extends CommonDao<EleSale, Integer> {

    /**
     * 指派人员
     */
    public void addAssign(EleSale elesale);

    /**
     * 查询指派给某个客户经理的销售机会
     */
    public List<EleSale> getAssignSale(int assignUserId);

    /**
     * 成功 OR 失败
     */
    public void upState(EleSale eleSale);

}
